import DefaultLayout from '~/layouts/Default.vue'
import elementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import util from './utils/util'

export default function (Vue, { router, head, isClient }) {
  // Set default layout as a global component
  Vue.component('Layout', DefaultLayout)
  Vue.use(elementUI)
  Vue.prototype.$util = util
}
